home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / windows4 / prndrv.zip / MAKEFILE < prev    next >
Text File  |  1992-02-20  |  953b  |  53 lines

  1. # Copyright (c) 1992 Microsoft Corporation. All rights reserved.
  2.  
  3. # This line allows NMAKE to work as well
  4.  
  5. all: prndrv.exe
  6.  
  7.  
  8.  
  9. # Defines
  10.  
  11. OBJS = main.obj  init.obj   mainwnd.obj   about.obj  copy.obj 
  12. LIBS = libw mlibcew
  13.  
  14.  
  15.  
  16.  
  17. # Rules
  18.  
  19. .c.obj:
  20.     cl -c -AM -W3 -Gsw -Od -Zipe -NT _$* $*.c
  21.         
  22.  
  23.  
  24.  
  25. # Update the resource if necessary
  26.  
  27. prndrv.res: prndrv.rc 
  28.     rc -r prndrv.rc
  29.  
  30.  
  31.  
  32. # Update the object files if necessary
  33.  
  34. main.obj:       main.c      prndrv.h   init.h    globals.h
  35. mainwnd.obj:    mainwnd.c   mainwnd.h  about.h   globals.h    
  36. init.obj:       init.c      init.h     mainwnd.h globals.h
  37. about.obj:      about.c     about.h
  38. copy.obj:       copy.c
  39.  
  40. # Update the executable file if necessary, and if so, add the resource back in.
  41.  
  42. prndrv.exe:  $(OBJS) prndrv.def prndrv.res
  43.    link /co /NOD @<<prndrv.lrf
  44. $(OBJS: = +^
  45. )
  46. prndrv.exe
  47. prndrv.map
  48. $(LIBS)
  49. prndrv.def
  50. <<KEEP
  51.     rc prndrv.res
  52. 
  53.